<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" href="../style/ucs.css">
    <link rel="stylesheet" href="../content/font/iconfont.css">
    <link rel="stylesheet" href="../style/theme.css">
</head>
<body>
    <div id="giraffe"></div>
    <script type="text/javascript" src="../../dist/libs/u-eventhub.js"></script>
    <script type="text/javascript" src="../../dist/libs/engine.js"></script>
    <script type="text/javascript" src="../../dist/ucsmy-ui.js"></script>

    <script type="text/javascript">

        var URLDM = new UDM({
            home:"../Index/index.html",     //首页
            account:"../MyAccount/index.html", //账户中心
            invest:"../InvestList/index.html",  //我要投资
            addCard:"../MyBankCard/index.html", //添加银行卡
            agreement:"协议链接",    //协议链接
            retry:"../ConfirmPay/index.html"    //返回重试
        });
        var resultDateDM = new UDM({
            value:{
                orderType:-1,
                ProjectName:"企贷项目【20160503】",
                OrderAmount:100000.00,
                Interest:5000.00,
                Duration:30,
                InterestAmount:"5600.35",
                RepayBegin:"2016-10-06",
                ErrorTips:"对不起，该订单交易处理失败，请您稍后再试或者咨询：0816-2373017",
                retry:function () {
                    UEventHub.emit('showResult',false)
                }
            }
        });
        //收益计算公式 365天
        var daysDM = new UDM({
            value:365
        });
        var ajaxFn = function(){
            setTimeout(function () {
                resultDateDM.setValue({orderType:1})
            },2000)
        };

        UEventHub.on("pageLoad",function(){
            ajaxFn();
        });
        var PageDM = {
            URL:URLDM,
            days:daysDM,
            resultDate:resultDateDM
        };
    </script>
<script type="text/javascript" src="../ConfirmPayResult\index.js"></script></body>
</html>